<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"  assembly="FJASPX.Domain" namespace="FJASPX.Domain">
  <class name="Store" table="T_Store"  lazy="false">
    <id name="Id" column="id" type="Int32" unsaved-value="0">
      <generator class="identity" />
    </id>
    <property name="Name" column="Name" type="String" length="50" />
    <property name="Skin" column="Skin" type="String" length="50" />
    <property name="Banner" column="Banner" type="String" length="100" />
    <property name="Domain" column="Domain" type="String" length="50" /> 
    <property name="UpdateTime" column="UpdateTime" type="DateTime"/>
    <property name="TimeStamp" column="CreateTime" type="DateTime"/>
    <many-to-one name="User" column="UserId" not-null="true" class="FJASPX.Domain.User"/>
  </class>
</hibernate-mapping>
